package com.Cfeng.XiaohuanChat.repository;

import com.Cfeng.XiaohuanChat.entity.UserNote;
import org.springframework.data.jpa.repository.JpaRepository;

/**
 * @author Cfeng
 * @date 2022/8/12
 */

public interface UserNoteRepository extends JpaRepository<UserNote,Long> {

    UserNote findByNoteTitle(String title);

    void deleteByNoteTitle(String title);
}
